package eteam.aps.systemservice.model.mapper;

import eteam.aps.systeminterface.model.dto.DictionaryDto;
import eteam.aps.systeminterface.model.entity.DictionaryEntity;
import eteam.aps.systeminterface.model.entity.DictypeEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface IDicMapper {
    IDicMapper INSTANCE = Mappers.getMapper(IDicMapper.class);

    DictionaryEntity toEntity(DictionaryDto param);

    DictionaryDto toDto(DictypeEntity param);
}
